package com.emm.yixun.poss.domain;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.IdType;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 
 *
 */
@TableName("sys_tm_admin")
public class TmAdmin implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键,自增长 */
	@TableId(type = IdType.AUTO)
	private Long id;

	/** 账号 */
	private String account;

	/** 密码 */
	private String password;

	/** 名称 */
	private String name;

	/** 头像图片URL */
	@TableField(value = "head_pic")
	private String headPic;

	/** 0:否 1:是 */
	@TableField(value = "is_admin")
	private String isAdmin;


	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getHeadPic() {
		return this.headPic;
	}

	public void setHeadPic(String headPic) {
		this.headPic = headPic;
	}

	public String getIsAdmin() {
		return this.isAdmin;
	}

	public void setIsAdmin(String isAdmin) {
		this.isAdmin = isAdmin;
	}

}
